package com.fastloan.mgt.home.service;

import com.fastloan.mgt.home.model.HomeConfig;
import com.kawins.base.BaseService;
import com.kawins.supers.file.core.FileLoadBean;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * 首页配置
 *
 * @author yanwe
 * createTime 2017-11-2017/11/16 14:54
 */
public interface HomeConfigService extends BaseService<HomeConfig> {

    void addHomeConfig(List<HomeConfig> homeConfigList);

    void modifyShowConfig(String productId,Integer isShow);

    Map<String, List<HomeConfig>> getHomeConfig(List<String> orgIds);

    Map<String, List<HomeConfig>> getHomeConfig(List<String> orgIds, Integer show);

    List<FileLoadBean> uploadFile(MultipartFile[] multipartFile);
}
